package class1;

import private1.Day;

import java.util.Scanner;

public class IsLeapTester {
    public static void main(String[] args) {
        Scanner stdIn=new Scanner(System.in);
        System.out.println("公历年份：");
        int y=stdIn.nextInt();


        System.out.println("该年"+(new Day(y).isLeap()?"是闰年":"不是闰年"));
    }
}
